package features;

public class SwitchExpressions {

    public String workdayOrNot(String day) {
        String dayString = switch (day) {
            case "sunday", "saturday" -> "休息";
            default -> "工作";
        };
        return dayString;
    }
}
